package com.twang.stock.mapper;

import com.twang.stock.entity.StockWarningEvent;
import com.twang.stock.entity.ThsReDianStock;
import com.twang.stock.entity.TodayQinXu;
import com.twang.stock.entity.ex.TodayQinXuDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;
import java.util.List;

public interface TodayQinXuMapper extends Mapper<TodayQinXu> {

    //
    TodayQinXu queryByDayLastOne(String date);

    TodayQinXu queryByDayLastOneWhithNoparam();
    //
    List<String> queryDates();
    //
    BigDecimal getLastTotalAMount();

    List<TodayQinXuDto> queryTodayAndYesTodayAmount(@Param("today")String today, @Param("yesToday") String yesToday);

}
